package request

type Register struct {
	Name string `form:"name" json:"name" xml:"name"  binding:"required"`
	Pass string `form:"pass" json:"pass" xml:"pass"  binding:"required"`
}

type Login struct {
	Name string `form:"name" json:"name" xml:"name"  binding:"required"`
	Pass string `form:"pass" json:"pass" xml:"pass"  binding:"required"`
}

type Ws struct {
	Ip       string   `form:"ip" json:"ip" xml:"ip"  binding:"required"`
	User     string   `form:"user" json:"user" xml:"user"  binding:"required"`
	From     string   `form:"from" json:"from" xml:"from"  binding:"required"`
	Type     string   `form:"type" json:"type" xml:"type"  binding:"required"`
	Content  string   `form:"content" json:"content" xml:"content"  binding:"required"`
	UserList []string `form:"userList" json:"userList" xml:"userList"  binding:"required"`
}

type List struct {
	Name     string `form:"name" json:"name" xml:"name"  binding:"required"`
	Page     int    `form:"page" json:"page" xml:"page"  binding:"required"`
	PageSize int    `form:"pageSize" json:"pageSize" xml:"pageSize"  binding:"required"`
}

type Friend struct {
	Adds string `form:"adds" json:"adds" xml:"adds"  binding:"required"`
	Ifs  string `form:"ifs" json:"ifs" xml:"ifs"  binding:"required"`
}
